package model;

import java.sql.*;

public class ConnectionManager {

	public static Connection getConnection() {
		Connection conn = null;
		try {
			Class.forName("oracle.jdbc.driver.OracleDriver");
			//conn = DriverManager.getConnection("jdbc:mysql://localhost/test?useUnicode=true&characterENCODING=utf8", "root", "root");
			conn = DriverManager.getConnection("jdbc:oracle:thin:@211.36.191.224:1521:myitea", "java18", "h2");
		} catch(Exception e) {
			e.printStackTrace();
		}
		return conn;
	}
	
}
